package Main;

import java.util.ArrayList;

import Core.Board;
import Core.HumanStrategy;
import Core.Player;
import Core.Position;
import Model.Morpion;
import Model.MorpionPlayer;
import Model.MorpionSymbole;
import View.MainWindow;

public class Main
{

    /**
     * @param args
     */
    public static void main(String[] args)
    {
	/*Player player1 = new Player("Steven", new HumanStrategy(),MorpionSymbole.CROSS);
	Player player2 = new Player("Simon", new HumanStrategy(),MorpionSymbole.CIRCLE);
	
	*/
	MorpionPlayer player1 = new MorpionPlayer("Steven", new HumanStrategy() ,MorpionSymbole.CROSS);
	MorpionPlayer player2 = new MorpionPlayer("Simon", new HumanStrategy(),MorpionSymbole.CIRCLE);
	Morpion m = new Morpion(player1,player2, new Board(3,3, MorpionSymbole.NONE));
	MainWindow w = new MainWindow(m);
	player1.setView(w.getGridView());
	player2.setView(w.getGridView());

	w.setSize(700,700);
	w.setVisible(true);
	m.play();
    }

}
